home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: MiNT 1.11 ? are we ready for it now ?
- Date: Tue, 26 Apr 94 0:36:02 CDT
- From: Juergen Lock <nox@jelal.north.de>
- In-Reply-To: <memo.950663@cix.compulink.co.uk>; from "Darryl Piper" at Apr 23, 94 7:46 pm
- Message-Id: <9404252236.AA00420@jelal.north.de>
-
- Darryl Piper writes:
-
- > Hi everyone
- >
- > Well MiNT 1.10 seems to have settled down now, maybe its time to assemble them
- > all into an offical version 1.11 ?
-
- here is one more fix :) (tosfs st_nblocks)
-
- Index: tosfs.c
- @@ -535,8 +535,8 @@
- struct tindex *ti;
-
- /* jr: if cluster size unknown, do a getbpb once */
- - if (fc->dev < 32 && ! clsizb[fc->dev])
- - getbpb (fc->dev);
- + if (drv < 32 && ! clsizb[drv])
- + getbpb (drv);
-
- ksprintf(tmpbuf, "%c:", drv+'A');
- fc->fs = &tos_filesys;
- @@ -685,6 +685,8 @@
- xattr->blksize = clsizb[fc->dev];
-
- xattr->nblocks = (xattr->size + xattr->blksize - 1) / xattr->blksize;
- + if (!xattr->nblocks && (ti->attr & FA_DIR))
- + xattr->nblocks = 1; /* no dir takes 0 blocks... */
- xattr->mdate = xattr->cdate = xattr->adate = ti->date;
- xattr->mtime = xattr->ctime = xattr->atime = ti->time;
- xattr->mode = (ti->attr & FA_DIR) ? (S_IFDIR | DEFAULT_DIRMODE) :
- --
- J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
- ...ohne Gewehr
- PGP public key fingerprint = 8A 18 58 54 03 7B FC 12 1F 8B 63 C7 19 27 CF DA
-